package com.bwie.message;

import com.bwie.util.JT808Const;
import lombok.Data;

@Data
public class ServerRespRegisterMessage extends BaseMessage {
    public static final byte SUCCESS = 0;//成功
    public static final byte VEHICLE_ALREADY_REGISTER = 1;//车辆已被注册
    public static final byte NOT_IN_DB = 2;//数据库无该车辆
    public static final byte TERMINAL_ALREADY_REGISTER = 3;//终端已被注册

    private short replyFlowId; //应答流水号 2字节
    private byte result;    //结果 1字节
    private String authCode; //鉴权码

    public ServerRespRegisterMessage() {
        this.setMessageId(JT808Const.SERVER_RESP_REGISTER);
    }
}
